package cn.ulc.socket.admin.service.user.impl;

import cn.ulc.socket.admin.common.BaseService;
import cn.ulc.socket.admin.service.user.WeixinUserServ;
import cn.ulc.store.dao.user.WeixinUserDao;
import cn.ulc.store.entity.Company;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

@Service
@AllArgsConstructor
public class WeixinUserServImpl extends BaseService implements WeixinUserServ {
    WeixinUserDao weixinUserDao;

    @Override
    public Long findCount() {
        Company company = getCurrentCompany();
        return weixinUserDao.findCount(company.getId());
    }
}
